.TH std::fgetpos 3 "2024.06.10" "http://cppreference.com" "C++ Standard Libary"
.SH NAME
std::fgetpos \- std::fgetpos

.SH Synopsis
   Defined in header <cstdio>
   int fgetpos( std::FILE* stream, std::fpos_t* pos );

   Obtains the file position indicator and the current parse state (if any) for the
   file stream stream and stores them in the object pointed to by pos. The value stored
   is only meaningful as the input to std::fsetpos.

.SH Parameters

   stream - file stream to examine
   pos    - pointer to a fpos_t object to store the file position indicator to

.SH Return value

   0 upon success, nonzero value otherwise. Also sets errno on failure.

.SH Example

    This section is incomplete
    Reason: no example

.SH See also

   ftell   returns the current file position indicator
           \fI(function)\fP
   fseek   moves the file position indicator to a specific location in a file
           \fI(function)\fP
   fsetpos moves the file position indicator to a specific location in a file
           \fI(function)\fP
   C documentation for
   fgetpos

.SH Category:
     * Todo no example
